package com.job.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
import java.time.LocalDateTime;

@TableName("student")
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel("学生表")
public class Student implements Serializable {

    @TableId
    @ApiModelProperty("学生id")
    private Integer studentId;

    @NotBlank
    @ApiModelProperty("学生姓名")
    private String studentName;

    @ApiModelProperty("学历(0:大专,1:本科,2:研究生)")
    private Integer xl;

    @ApiModelProperty("到岗时间(0:周内,1:月内,2:3月内)")
    private Integer workTime;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("微信号")
    private String wechat;

    @ApiModelProperty("个人优势")
    private String superiority;

    @ApiModelProperty("应聘岗位")
    private String position;

    @ApiModelProperty("期望薪资")
    private Integer salary;

    @ApiModelProperty("专业")
    private String major;

    @ApiModelProperty("最高学历院校")
    private String school;

    @ApiModelProperty("简历附件")
    private String file;

    private LocalDateTime createTime;
}
